package cn.maxhou.service.impl;

import cn.maxhou.mapper.AuctionrecordMapper;
import cn.maxhou.service.AuctionrecordService;
import cn.maxhou.util.MyBatisUtil;
import cn.maxhou.vo.Auctionrecord;
import org.apache.ibatis.session.SqlSession;

import java.util.List;

public class AuctionrecordServiceImpl implements AuctionrecordService {
    public static SqlSession sqlSession = MyBatisUtil.createSqlSession();
    public static AuctionrecordMapper auctionrecordMapper = sqlSession.getMapper(AuctionrecordMapper.class);
    @Override
    public List<Auctionrecord> getAuctionrecordById(Integer auctionId) {
        return auctionrecordMapper.getAuctionrecordById(auctionId);
    }
}
